package com.big.app.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.big.app.dao.PlayDao;
import com.big.app.entity.Play;
import com.big.app.service.intf.PlayService;
import com.big.app.vo1.R;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;


@Service
public class PlayServiceImpl implements PlayService {
    @Resource
    private PlayDao dao;

    @Override
    public R queryPlayTop() {
            QueryWrapper<Play> queryWrapper = new QueryWrapper<>();
            queryWrapper.orderByAsc("id");
            return R.ok(dao.selectList(queryWrapper));
    }

}
